//
//  PayTypeView.m
//  firstpoint
//
//  Created by 泽中 on 2017/7/25.
//  Copyright © 2017年 xzcysoft. All rights reserved.
//

#import "PayTypeView.h"

@implementation PayTypeView
-(instancetype)initWithFrame:(CGRect)frame {
    if (self = [super initWithFrame:frame]) {
        self.backgroundColor=[UIColor whiteColor];
        _title=[[UILabel alloc]initWithFrame:CGRectMake(10, 0, 60, self.mj_h)];
        _title.font=[UIFont systemFontOfSize:13];
        [self addSubview:_title];
        
        _jiage=[[UILabel alloc]initWithFrame:CGRectMake(70, 0, 200, self.mj_h)];
        _jiage.font=[UIFont systemFontOfSize:11];
        _jiage.textColor=[UIColor lightGrayColor];
        [self addSubview:_jiage];
        
        _button=[UIButton buttonWithType:UIButtonTypeCustom];
        _button.frame=CGRectMake(self.mj_w-35, 10, 25, 25);
        [_button setImage:[UIImage imageNamed:@"gwcwxz"] forState:UIControlStateNormal];
         [_button setImage:[UIImage imageNamed:@"gwcxz"] forState:UIControlStateSelected];
        [self addSubview:_button];
    }
    return self;
}
/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
